[gi] add array annotations for DnD related methods
authorJohn (J5) Palmieri <johnp@redhat.com>
Fri, 19 Nov 2010 20:06:40 +0000 (15:06 -0500)
committerJohn (J5) Palmieri <johnp@redhat.com>
Fri, 19 Nov 2010 20:06:40 +0000 (15:06 -0500)
gtk/gtkselection.c
gtk/gtktreeview.c

index 999652c724623bda10e25db1f618d1a0c96b2ebd..70b3c055c897430cd88e720e8d7339807f9a487f 100644 (file)
@@ -1242,7 +1242,7 @@ gtk_selection_data_get_display (GtkSelectionData *selection_data)
  * @selection_data: a pointer to a #GtkSelectionData structure.
  * @type: the type of selection data
  * @format: format (number of bits in a unit)
- * @data: pointer to the data (will be copied)
+ * @data: (array) (element-type guchar): pointer to the data (will be copied)
  * @length: length of the data
  * 
  * Stores new data into a #GtkSelectionData object. Should
index dc3e3b717c70962fb43044cad26ae152024278fa..66e8a5f5d2f35e5b464b901caeb8a95e260618a1 100644 (file)
@@ -13501,7 +13501,7 @@ unset_reorderable (GtkTreeView *tree_view)
  * gtk_tree_view_enable_model_drag_source:
  * @tree_view: a #GtkTreeView
  * @start_button_mask: Mask of allowed buttons to start drag
- * @targets: the table of targets that the drag will support
+ * @targets: (array): the table of targets that the drag will support
  * @n_targets: the number of items in @targets
  * @actions: the bitmask of possible actions for a drag from this
  *    widget
@@ -13538,7 +13538,7 @@ gtk_tree_view_enable_model_drag_source (GtkTreeView              *tree_view,
 /**
  * gtk_tree_view_enable_model_drag_dest:
  * @tree_view: a #GtkTreeView
- * @targets: the table of targets that the drag will support
+ * @targets: (array): the table of targets that the drag will support
  * @n_targets: the number of items in @targets
  * @actions: the bitmask of possible actions for a drag from this
  *    widget